package com.aididi.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "config")
@PropertySource(value = "classpath:config.properties")
public class EnviromentConfig {
    private int port;
    private String ip;
    private String serverName;
    private String path;
}
